package ms.jacrim.pddl.evaluator;

import ms.jacrim.pddl.PddlSolution;

public class LengthEvaluator extends Evaluator {

	public LengthEvaluator(float coeffience) {
		super(coeffience);
	}

	@Override
	public String Name() {
		return "LengthEvaluator";
	} 

	@Override
	public float evaluate(PddlSolution solution) {
		return -solution.ActionCount();
	}

	@Override
	public float Score() {
		return 0;
	}

}
